import time
from selenium.webdriver.common.by import By
from selenium import webdriver

driver = webdriver.Edge()
time.sleep(2)
driver.get('https://pypi.org/project/selenium/')
time.sleep(2)
driver.maximize_window()
time.sleep(2)
# 下载
driver.find_element(By.ID,'files-tab').click()

# # 点击上传
# driver.find_element(By.CLASS_NAME,'upload-pic').send_keys(r'C:\Users\86181\Pictures\Screenshots\d.png')
time.sleep(5)

